Allows to work with all formats supported, automatically. More...
Static Public Member Functions | |
| static bool | canDecode (const nkMemory::BufferView<> &sources) |
| static DecodedData | decode (const nkMemory::BufferView<> &sources, const CompositeDecodeOptions &options=CompositeDecodeOptions()) |
Allows to work with all formats supported, automatically.
|
static |
Checks whether data can be decoded or not. This will go through all available canDecode methods to know if one of the available encoders can work with the data given.
| sources | Data to check. |
|
static |
Decodes provided data. This will request all available encoders until it can find one that can decode the data.
| sources | Data to decode. |
| options | The decoding options to drive how data should be decoded. |